# -*- mode: snippet -*-
# name: function fn(...) { console.log('fn called'); }
# key: fn
# contributor: Chen Bin <chenbin DOT sh AT gmail>
# --
function ${1:name} (${2:args}) {
  console.log('${1:$(yas/substr text "[^ ]*")} called');
  $0
}
